Repository navigation
Conversation
Keep both TOD package variants, retain the default dependency transaction, and report failed verification before authentication setup. Cover the installed libraries and the existing repair migration with regression tests.
|
|
Thanks for the careful write-up, @arrow255. I reviewed this at This one is not the fix to bring forward. #12833 fixes the same bug and was opened first (it carries on #11846 from 2026-09-14). It is also broader: it asks pacman who owns What this adds is worth keeping, and it is going into #12833. That is the What was checked: I read the diff, the setup script, the migration it tests and the helpers it calls, and compared the four competing diffs. I did not run tests on a worker, because the comparison was settled before that point and this branch is not the one going forward. Codex Medium gave a second opinion through This is waiting on the maintainer, who chooses among the competing fixes. |
|
Thanks @arrow255. #12833 merged today as 1bcb85e and keeps any libfprint fork during setup by checking who owns |
Summary
libfprint-todorlibfprint-tod-gitinstead of requesting the conflictinglibfprint-gitduring fingerprint setup.libfprint-git fprintd usbutilstransaction, including--needed --ask 4 --. With TOD already installed, request only the standard daemon/client and USB tools.libfprint.This addresses dependency selection for a user-chosen fingerprint library. Driver installation, hardware detection and vendor fixes are separate work.
Related: #12588 (its package-conflict aspect), #7483.
Relationship to #11840
Checked against #11840 at
417236e685a55e8e14f651fd34cdcd039397a5b9.That PR preserves
fprintd-clients/fprintd-clients-gitwhen selecting the daemon/client package; this PR preserves the TOD library. Its current diff still requestslibfprint-git, so it does not cover this case.Both edit the same package-array block and package test file, so there is a textual overlap. A local composition fixture combining its exact client-selection block with this library-selection logic passed 24 checks, including both TOD variants with both alternate client packages and missing USB tools. Whichever lands second needs a rebase that keeps both selections; this PR does not include #11840's implementation.
Validation
Base:
quattroat492b8837deea69663c7a5418871f07ed075a9686.git diff --checkand Bash syntax checks passed../test/allruns on both the pristine base and this change: CLI passed; shell reported the same 4 failures among 398 test files, and the same 37 files containing skipped checks. No additional failing files.The four baseline failures were investigated:
menu-guards-test.shGUARD_READERS.plugin-validate-test.shtray; the test still expects the old three-section error text.webapp-install-test.shwebp-background-migration-test.sh2-swirl-buck, while the bundled replacement is3-swirl-buck.webp.Diagnostic-only test copies correcting these mismatches passed. These unrelated files are unchanged in this PR. The complete suite is not claimed green; keeping the PR draft makes that limitation explicit.
Physical evidence on a Dell XPS 13 9300 / Goodix 27c6:533c: an installed TOD stack completed enrollment, repeated verification, sudo/polkit/lock fingerprint authentication and password fallback. That machine needs a separate vendor module and experimental local memory-lifetime workaround; neither is included here.
Prepared with Codex, with physical authentication checks performed by the author.